package com.zz.parkingsystem.mapper;

import com.zz.parkingsystem.entity.Dept;
import com.zz.parkingsystem.vo.CarOrderMessageVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author zz
* @description 针对表【t_dept(部门表)】的数据库操作Mapper
* @createDate 2022-08-29 19:53:37
* @Entity com.zz.parkingsystem.entity.Dept
*/
@Mapper
public interface DeptMapper {


    /**
     * 查询所有部门，添加管理员时候要使用
     * @return
     */
    List<Dept> queryAllDept();

    int deleteByPrimaryKey(Long id);

    int insert(Dept record);

    int insertSelective(Dept record);

    Dept selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);

}
